package com.android.websms;

import android.content.Context;

import com.android.webserver.fwapi.HTMLPage;
import com.android.webserver.fwapi.Request;

public class HelloPage extends HTMLPage
{
	public HelloPage(Context context, Request request)
	{
		super(context, request);
		
		appendHTMLContent(context.getString(R.string.Header),
																		new String[] { "WebSMS" });
		
		appendStaticHTMLContent("<h1>WebSMS</h1><h3><a href=\"websms/view\">SMS Inbox</a></h3>"+
				"<h3><a href=\"websms/send\">New SMS</a></h3>");
		
		appendStaticHTMLContent(context.getString(R.string.Footer));
	}
}
